<?php
class ShopAction extends CommonAction {
    public function index(){
		$this->list = M('Shop') -> where(array('site_id' => __SITEID__)) -> select();
		$this->display();
	}
	
	public function map(){
		$this->info = M('Shop') -> where(array('id' => $this->_get('id'))) -> find();
		$this->display();
	}
}

